package org.ourguy.mymoviesandshows.apiclient;

import java.util.ArrayList;

import org.ourguy.mymoviesandshows.datamodel.Trailer;

/**
 * Interface for Trailer API Drivers
 * @author ignisf
 */
public interface ITrailerAPIClient {
	/**
	 * Search for a trailer
	 * @param query Search query
	 * @return List of trailers that match the criteria.
	 * @throws APIException APIException Throws an exception if something goes wrong.
	 */
	public ArrayList<Trailer> searchTrailer(String query) throws APIException;
}
